package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存调整日志对象 inventory_adjust_log
 * 
 * @author ruoyi
 * @date 2025-10-15
 */
public class InventoryAdjustLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 创建用户ID */
    @Excel(name = "创建用户ID")
    private Long createUserId;

    /** 创建组织ID */
    @Excel(name = "创建组织ID")
    private Long createOrgId;

    /** 创建用户名 */
    @Excel(name = "创建用户名")
    private String createUserName;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUserId;

    /** 更新用户名 */
    @Excel(name = "更新用户名")
    private String updateUserName;

    /** 删除标识(1:已删除, 2:未删除) */
    @Excel(name = "删除标识", readConverterExp = "1=已删除,2=未删除")
    private Integer isDelete;

    /** 组织ID */
    @Excel(name = "组织ID")
    private Long orgId;

    /** 创建组织名称 */
    @Excel(name = "创建组织名称")
    private String createOrgName;

    /** 关联ID */
    @Excel(name = "关联ID")
    private Long associationId;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long stockId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String stockName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodsNumber;

    /** 调整前数量 */
    @Excel(name = "调整前数量")
    private BigDecimal beforeQuantity;

    /** 调整后数量 */
    @Excel(name = "调整后数量")
    private BigDecimal afterQuantity;

    /** 增加数量(正数为增加，负数为减少) */
    @Excel(name = "增加数量")
    private BigDecimal increase;

    /** 来源 */
    @Excel(name = "来源")
    private String sources;

    /** 系统标记 */
    @Excel(name = "系统标记")
    private String sysMark;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 存储方式 */
    @Excel(name = "存储方式")
    private String storageMethod;

    /** 库存ID */
    @Excel(name = "库存ID")
    private Long inventoryId;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 商品型号 */
    @Excel(name = "商品型号")
    private String goodsModel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public void setCreateOrgId(Long createOrgId) 
    {
        this.createOrgId = createOrgId;
    }

    public Long getCreateOrgId() 
    {
        return createOrgId;
    }

    public void setCreateUserName(String createUserName) 
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName() 
    {
        return createUserName;
    }

    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }

    public void setUpdateUserName(String updateUserName) 
    {
        this.updateUserName = updateUserName;
    }

    public String getUpdateUserName() 
    {
        return updateUserName;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    public void setCreateOrgName(String createOrgName) 
    {
        this.createOrgName = createOrgName;
    }

    public String getCreateOrgName() 
    {
        return createOrgName;
    }

    public void setAssociationId(Long associationId) 
    {
        this.associationId = associationId;
    }

    public Long getAssociationId() 
    {
        return associationId;
    }

    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }

    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }

    public void setGoodsNumber(String goodsNumber) 
    {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsNumber() 
    {
        return goodsNumber;
    }

    public void setBeforeQuantity(BigDecimal beforeQuantity) 
    {
        this.beforeQuantity = beforeQuantity;
    }

    public BigDecimal getBeforeQuantity() 
    {
        return beforeQuantity;
    }

    public void setAfterQuantity(BigDecimal afterQuantity) 
    {
        this.afterQuantity = afterQuantity;
    }

    public BigDecimal getAfterQuantity() 
    {
        return afterQuantity;
    }

    public void setIncrease(BigDecimal increase) 
    {
        this.increase = increase;
    }

    public BigDecimal getIncrease() 
    {
        return increase;
    }

    public void setSources(String sources) 
    {
        this.sources = sources;
    }

    public String getSources() 
    {
        return sources;
    }

    public void setSysMark(String sysMark) 
    {
        this.sysMark = sysMark;
    }

    public String getSysMark() 
    {
        return sysMark;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setStorageMethod(String storageMethod) 
    {
        this.storageMethod = storageMethod;
    }

    public String getStorageMethod() 
    {
        return storageMethod;
    }

    public void setInventoryId(Long inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId() 
    {
        return inventoryId;
    }

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public void setGoodsModel(String goodsModel) 
    {
        this.goodsModel = goodsModel;
    }

    public String getGoodsModel() 
    {
        return goodsModel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUserId", getCreateUserId())
            .append("createOrgId", getCreateOrgId())
            .append("createUserName", getCreateUserName())
            .append("updateUserId", getUpdateUserId())
            .append("updateUserName", getUpdateUserName())
            .append("isDelete", getIsDelete())
            .append("orgId", getOrgId())
            .append("createOrgName", getCreateOrgName())
            .append("associationId", getAssociationId())
            .append("stockId", getStockId())
            .append("goodsId", getGoodsId())
            .append("stockName", getStockName())
            .append("goodsName", getGoodsName())
            .append("goodsNumber", getGoodsNumber())
            .append("beforeQuantity", getBeforeQuantity())
            .append("afterQuantity", getAfterQuantity())
            .append("increase", getIncrease())
            .append("sources", getSources())
            .append("sysMark", getSysMark())
            .append("remarks", getRemarks())
            .append("name", getName())
            .append("storageMethod", getStorageMethod())
            .append("inventoryId", getInventoryId())
            .append("number", getNumber())
            .append("goodsModel", getGoodsModel())
            .toString();
    }
}
